import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "@/assets/css/global.scss";
import App from "./App.tsx";
import { RouterProvider } from "react-router-dom";
import { Provider } from "react-redux";
import store from "./store/index.ts";
import router from "./routers";
import "@/api/mock.ts";

createRoot(document.getElementById("root")!).render(
  // <StrictMode>
  //   <RouterProvider router={router}>
  //   </RouterProvider>
  //   <App />
  // </StrictMode>,
  <Provider store={store}>
    <App />
  </Provider>
);
